package com.bit.ioc.v2;

public class Car {
    private Fromwork fromwork;
    public Car(Fromwork fromwork){
        this.fromwork=fromwork;
        System.out.println("create car");
    }
    public void run(){
        System.out.println("car running");
    }
}
